package com.wanda.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.wanda.dao.Opening_PayDAO;
import com.wanda.dao.PaymentDao;
import com.wanda.model.Opening_PayModel;
import com.wanda.model.PayMentModel;
import com.wanda.service.Opening_PayService;
import com.wanda.service.PayMentService;

@Service
public class PayMentServiceImpl implements PayMentService{

	@Autowired
	private PaymentDao paymentDao;
	
	public void addPayMent(PayMentModel model) {
		// TODO Auto-generated method stub
		paymentDao.addPayMent(model);
	}

	public int deletePayMent(PayMentModel model) {
		// TODO Auto-generated method stub
		return paymentDao.deletePayMent(model);
	}

	public List<PayMentModel> selectBySql(String page, String rows, String SearchSql) {
		// TODO Auto-generated method stub
		return paymentDao.selectBySql(page, rows, SearchSql);
	}
	
	
}
